package com.lysj.bhp.coinexchange.vo;

import java.math.BigDecimal;
import java.util.Date;

public class BhpcRecordVo {
    private Long bhpcRecordId;
    private Long userId;

    private BigDecimal exchangeNum;//兑换的币种数量
    private BigDecimal exchangeRate;//兑换币种对美元的当前汇率

    private  int type;//10:比特币;20:以太坊

    private BigDecimal bhpc; //获得的bhpc数量
    private BigDecimal bhpcToDollar;

    private Date createDate;//购买时间
    private String email;//用户邮箱

    private String exchangeCurrency;//兑换币种
    private String targetCurrency;//目标币种
    private BigDecimal realNum;//实际到账数量
    private BigDecimal exchangeCost;//兑换s手续费
    private String state;//状态


    public BhpcRecordVo() {
    }

    public BhpcRecordVo(Long bhpcRecordId, Long userId, BigDecimal exchangeNum, BigDecimal exchangeRate, int type, BigDecimal bhpc, BigDecimal bhpcToDollar, Date createDate, String email, String exchangeCurrency, String targetCurrency, BigDecimal realNum, BigDecimal exchangeCost, String state) {
        this.bhpcRecordId = bhpcRecordId;
        this.userId = userId;
        this.exchangeNum = exchangeNum;
        this.exchangeRate = exchangeRate;
        this.type = type;
        this.bhpc = bhpc;
        this.bhpcToDollar = bhpcToDollar;
        this.createDate = createDate;
        this.email = email;
        this.exchangeCurrency = exchangeCurrency;
        this.targetCurrency = targetCurrency;
        this.realNum = realNum;
        this.exchangeCost = exchangeCost;
        this.state = state;
    }

    public BhpcRecordVo(Long bhpcRecordId, Long userId, BigDecimal exchangeNum, BigDecimal exchangeRate, int type, BigDecimal bhpc, BigDecimal bhpcToDollar, Date createDate, String email) {
        this.bhpcRecordId = bhpcRecordId;
        this.userId = userId;
        this.exchangeNum = exchangeNum;
        this.exchangeRate = exchangeRate;
        this.type = type;
        this.bhpc = bhpc;
        this.bhpcToDollar = bhpcToDollar;
        this.createDate = createDate;
        this.email = email;
    }

    public Long getBhpcRecordId() {
        return bhpcRecordId;
    }

    public void setBhpcRecordId(Long bhpcRecordId) {
        this.bhpcRecordId = bhpcRecordId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getExchangeCurrency() {
        return exchangeCurrency;
    }

    public void setExchangeCurrency(String exchangeCurrency) {
        this.exchangeCurrency = exchangeCurrency;
    }

    public String getTargetCurrency() {
        return targetCurrency;
    }

    public void setTargetCurrency(String targetCurrency) {
        this.targetCurrency = targetCurrency;
    }

    public BigDecimal getExchangeNum() {
        return exchangeNum;
    }

    public void setExchangeNum(BigDecimal exchangeNum) {
        this.exchangeNum = exchangeNum;
    }

    public BigDecimal getExchangeRate() {
        return exchangeRate;
    }

    public void setExchangeRate(BigDecimal exchangeRate) {
        this.exchangeRate = exchangeRate;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public BigDecimal getBhpc() {
        return bhpc;
    }

    public void setBhpc(BigDecimal bhpc) {
        this.bhpc = bhpc;
    }

    public BigDecimal getBhpcToDollar() {
        return bhpcToDollar;
    }

    public void setBhpcToDollar(BigDecimal bhpcToDollar) {
        this.bhpcToDollar = bhpcToDollar;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public BigDecimal getRealNum() {
        return realNum;
    }

    public void setRealNum(BigDecimal realNum) {
        this.realNum = realNum;
    }

    public BigDecimal getExchangeCost() {
        return exchangeCost;
    }

    public void setExchangeCost(BigDecimal exchangeCost) {
        this.exchangeCost = exchangeCost;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
